/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package OLD;

import OLD.*;
import com.sun.lwuit.List;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.plaf.Style;

/**
 *
 * @author eoinsavage
 */
public class ItinThu extends Menu{

    public ItinThu(ActionListener a){

        super("Thursday","paper.jpg",a);

        //add a list
        String[] items = {"10:00 - Visit Christ Church Cathedral.",
        "12:00 - Visit the interactive museum 'Dublinia'.",
        "14:00 - Visit Temple Bar.",
        "16:00 - Visit the Book of Kells in Trinity College.",
        "15:00 - Take a tour of the old library in Trinity College.",
        "16:00 - Go to the GPO, O'Connell Street.",
        "21:00 - Go Dancing in one of Dublin's many nightclubs."};

        List todo = new List(items);

        Style style = todo.getStyle();
        style.setBgColor(0xaa00ff);
        style.setFgColor(0xffffff);
        todo.setStyle(style);
        todo.setSelectedStyle(style);
        todo.setIsScrollVisible(true);
        todo.setUIID("£todo");//Name list so it can be found - always place £ before name
        todo.setFocusPainted(false);
        this.addList(todo);
        this.setLayoutType(2);

        //add a button
        addButton("Itinerary","Itinerary","itinerary",color.Black);//to return to main menu


        }

}